<%@ page language="java" contentType="text/html;charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<link href="../../bootstrap-3.1.1-dist/css/bootstrap.min.css" rel="stylesheet" media="screen">
<link rel="stylesheet" type="text/css"
	href="../../bootstrap-select/bootstrap-select.min.css">
<style type="text/css">
.queryCondition{
	width: 800px;
	float: left;
	min-height:80px;
	margin-left: auto;
	margin-right: auto;
}
.table_data{
	width: 800px;
	float: left;
	margin-left: auto;
	margin-right: auto;	
	min-height: 300px;
}
.querybtn{
	text-align: center;
	border-bottom: 3px solid #1da811;
	padding-bottom: 10px;
}
</style>
<script type="text/javascript" src="../../js/common/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="../../bootstrap-3.1.1-dist/js/bootstrap.min.js"></script>
<script type="text/javascript"src="../../bootstrap-select/bootstrap-select.min.js"></script>
<script type="text/javascript" src="../../admin/sql/javascript/add.js"></script>
<script type="text/javascript"> 	
	window.onload = function() {
		$('.selectpicker').selectpicker();
	};
</script>
</head>
<body>
    <div style="width:800px;margin-left:auto;margin-right:auto;">
		<div class="queryCondition">
			<table style="width: 100%;">
				<tr>
					<td align="right" style="color: #888;"></td>
					<td></td>
					<td align="right" style="color: #888;"></td>
					<td></td>
				</tr>
			</table>
		</div>
		
	</div>
	<div style="width:800px;margin-left:auto;margin-right:auto;">
		<div class="queryCondition">
			<table style="width: 100%;">
				<tr>
					<td align="right" style="color: #888;">表名:</td>
					<td><input type="text" onkeyup="value=value.replace(/[^\w\.\-\_\/]/ig,'')" onmousedown="clearTableName();" onblur="validateExist();" id="txtTableName" style="width: 200px;height:30px;margin: 15px 15px 15px 15px;"/><span id="txtWarnTableName"></span></td>
					</tr>
				<tr>
				<td align="right" style="color: #888;">表说明:</td>
					<td><input type="text" id="txtTableDesc"  style="width: 600px;height:30px;margin: 15px 15px 15px 15px;"//></td>
				
				</tr>
				<tr>
				<td align="right" style="color: #888;">所属库:</td>				
					<td style="padding:15px;">
						<select class="selectpicker span2" data-size="false">
							<option>--请选择数据库--</option>
							<option></option>
							<option></option>
							<option></option>
							<option></option>
							<option></option>
						</select>
						<input type="button" value="新建数据库" class="btn" style="border:1px solid #ccc;"/>
					</td>
				</tr>
			</table>
		</div>
		<div class="querybtn">
			<input type="hidden" value="0" id="hidTableNameValue"/>
			<input type="button" class="btn btn-success" style="width:100px;margin-right: 10px;"  value="清除填写" onclick="clearTxt();"/>
			<input type="button"  class="btn btn-primary" style="width:100px;margin-right: 10px;" value="新增" onclick="add();"/>
			<input type="button" class="btn btn-success" style="width:100px;margin-right: 10px;" value="返回" onclick="returnHome();"/>
		</div>
		
	</div>
</body>
</html>
